<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<div class="menu" style="float: right;">
    <ul>
        <logic:present scope="session" name="user">
            

            <logic:equal name="user" property="role" value="admin">
                <li><a href="/BluePumpkin/admin/dashboard.jsp">Dashboard Home</a></li>
            </logic:equal>

            <logic:equal name="user" property="role" value="employee">
                
                <li><a href="/BluePumpkin/employee/EventComing.do">Dashboard Home</a></li>

            </logic:equal>

            <li><a href="/BluePumpkin/logout.do">Logout</a></li>
        </logic:present>

        <logic:notPresent scope="session" name="user">
            <li><a href="/BluePumpkin/index.jsp?opt=login">Login</a></li>
        </logic:notPresent>
    </ul>
</div>